package com.aiti.lulian.dto;

import com.aiti.base.core.base.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "ProductNewInfoDto对象", description = "商品基本信息")
public class ProductNewInfoDto extends PageDto {

    @ApiModelProperty("主键")
    private String baseId;

    @ApiModelProperty("企业id")
    private String enterpriseId;

    @ApiModelProperty("产品名称")
    private String baseName;

    @ApiModelProperty("价格")
    private BigDecimal price;

    /** 管理员角色Id */
    private String adminRole;

    /** 管理员新增时需要统信 */
    private String uscc;

    private String baseNote;

    /** 单位 */
    private String unit;

    @ApiModelProperty("起批量")
    private String inventory;

    @ApiModelProperty("供货数量")
    private String supplyQuantity;

    @ApiModelProperty("货品类型(0:现货;1:订货)")
    private String  productStyle;

    @ApiModelProperty("联系人")
    private String  linkMan;

    @ApiModelProperty("联系电话")
    private String  linkPhone;

    @ApiModelProperty("上传主图")
    private List<SysAttachmentDto> attachments;

    @ApiModelProperty("产品属性")
    private List<ProductAttributeDto> attributes;

    @ApiModelProperty("详细介绍")
    private String baseIntroduction;

    @ApiModelProperty("一级行业")
    private String oneLevelIndustry;

    @ApiModelProperty("二级行业")
    private String towLevelIndustry;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("部门ID")
    private String deptId;

    @ApiModelProperty("省编码")
    private String province;

    @ApiModelProperty("省名称")
    private String provinceName;

    @ApiModelProperty("城市")
    private String city;

    @ApiModelProperty("市名称")
    private String cityName;

    @ApiModelProperty("区县")
    private String county;

    @ApiModelProperty("区县名称")
    private String countyName;

    @ApiModelProperty("产品类型")
    private String productType;

    @ApiModelProperty("产品简介")
    private String introduction;
}